package cn.hanyx.coder.design.pattern.behavioral.iterator.demo01;

/**
 * Iterator
 * 定义 迭代器接口
 *
 * @author hanyx
 * @date 2020/06/10
 */
public interface Iterator<E> {
    boolean hasNext();

    void next();

    E currentItem();
}
